Pass Google Ad Campaign Keywords and Visitor Physical Location on Your WordPress Landing Page Through ValueTrack Parameters

Setup Landingpage to Display Ad Campaign Keywords and Ad Visitor Location Using Google ValueTrack Parameters

NOTE

From version v-1.6.12, this functionality is included in all subsequent versions.
Works only with the General Keyword Set.

WPDKI Pro facilitates the insertion of ad keywords and Ad visitor real locations into your landing pages directly from your Google ad campaigns. By leveraging Google ValueTrack parameters, you can dynamically display personalized content tailored to each visitor’s location and search intent. Here’s a step-by-step guide to getting started and optimizing your ad landing pages for better results.

How It Works

Step 1: Sync Google AdWords Locations
Navigate to the Sync Locations page in dashboard. Click Sync Locations button to synchronize locations with Google.

This action is required.

sync-locations

A notification on this page ensures users understand that syncing must be completed before using location-based dynamic content.

success-message

Step 2: Update Dynamic Parameters (if needed)

By default, search parameters like location & dyn_keyword are pre-configured on the Keyword Settings page. However, you can customize these to meet your campaign needs:

keywords-setting-default
  • Replace dyn_keyword with a meaningful term like service.
  • Update the location parameter to reflect geographic data, such as area.
keywords-setting

Step 3: Use Shortcodes in Content

Once the sync is complete, use the following shortcodes on your landingpage.

{location}: Displays the visitor’s location.
{location target_type=City}: Shows the visitor’s city.
{location target_type=State}: Displays the state.
{location target_type=Country}: Displays the country.

location-shortcodes
Example [code lang="js"] Welcome! You’re browsing from {location}. Location: {location} City: {location target_type=City} State: {location target_type=State} Country: {location target_type=Country} [/code]

Example Use Case

Define URL Parameters
Create URLs with location-based parameters.
Example URL:
https://yourwebsite.com/service/?area={loc_physical_ms}

Dynamic Keyword Updates
The plugin dynamically replaces location IDs with the actual location name.

  • URL: https://yourwebsite.com/service/?area=1004428
  • Location result: 1004428 → Vellmar
  • Preview: {location} → Vellmar

Add the shortcode to your content for dynamic rendering:
Example:
Welcome to our site! You are browsing from {location}.
Location: {location}
City: {location target_type=City}
State: {location target_type=State}
County: {location target_type=Country}

Output:
Welcome to our site! You are browsing from Vellmar.
Location:  Vellmar Germany
City: Vellmar
State: Hesse
County: Germany

Want to unlock power of All Pro Features which can help you with Reduce Your CPC Cost, Increase Your Conversion Rates & Increase Landing Page Quality Score