Introduction
Variables allow you to dynamically generate personalized content by replacing placeholders with real data from your dataset. Each column name in your dataset becomes a variable you can use when writing content. For example, a column named City
in your dataset can be used as {{City}}
in your content.
How to Use Variables
- Upload Your Dataset
- In the Data tab, you can upload your dataset via CSV Upload or through Google Sheets Integration by connecting your Google account.
- Ensure your dataset includes descriptive column names. Each column name will automatically become a variable.
Your dataset can include various types of data, such as Dynamic Listicles (bullet points), Dynamic Links (URLs) and Dynamic Images (image URLs).
- Write Content Using Variables
- You can access variables by clicking on the available options listed below the input field or by using the variables icon next to it.
- Add these variables to the Title or other content fields to dynamically populate data from your dataset.
Combine variables with Spin Syntax to create unique variations (e.g., Best restaurants in {{City}} [today|this week]
) or use Generative AI to generate dynamic, context-rich content using your variables (e.g. prompt(Write me an intoduction about {{City}}
).
- Generate content
Once your content is written, SEOMatic will replace variables with the corresponding values from each row of your dataset to generate personalized content for each page. Each unique combination of variables in the Title or Slug field will create a separate page.
Troubleshooting
Variables Display Blank or "???" Instead of Expected Content
Issue:
Generated content displays blank spaces or "???" in place of expected variables.
Solution:
- Check Variable Names: Ensure the placeholder variables in your content exactly match the column headers in your dataset. Variable names are case-sensitive and must be free of typos.
- Check for Empty Rows: Review your dataset for empty rows or missing values and ensure all required data is present.
- Re-upload Your Dataset: After making corrections, save your dataset and re-upload it to SEOmatic.
Content Generation Stalls with Spinning Wheel
Issue:
The content generation process stalls indefinitely, showing a spinning wheel with no output.
Solution:
- Check Variables: Ensure all variables in your content match your dataset and are correctly formatted.
- Verify Image Formats: Ensure all image URLs in your dataset are in supported formats like .jpg, .png, or .gif.
- Be Patient: Content generation may take longer, especially with large datasets. Please allow time for the process to complete.
If the issue persists, please email us at contact@seomatic.ai and include your dataset for further assistance.
Contact and Support
For further assistance, feel free to reach out to our support team. Contact us at contact@seomatic.ai or via chat.