• Resolved saens

    (@saens)


    Hi,
    Recently bought the plugin and very happy with it!

    I have some social sharing buttons on our product pages. They update (using JS) when a variation is changed, so people can share the specific product/color. It all works.
    Until UTM-codes come into play.

    Product A with default setting of yellow.
    Change color to black the URL becomes:
    /product/productA/?attribute_pa_color=black&utm_medium=social&utm_source=whatsapp&utm_campaign=share-button

    When visiting this URL in a private tab the product page loads and changes the black to yellow.

    Any idea what can cause this? I have the Redirection plugin installed, but don’t have any redirects set for this page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter saens

    (@saens)

    Same behaviour with gclid added. It always loads the default set product if there’s any addition in the URL.

    Thread Starter saens

    (@saens)

    I found it has something to do with caching. When I disabled WP Fastest Cache (https://www.ads-software.com/plugins/wp-fastest-cache/) this issue goes away.

    Thread Starter saens

    (@saens)

    I’d expect javascript included with this plugin to look at the url after loading the page and selecting the proper variant.
    This way the page itself can be served from cache (=fast) and yet the customer sees the product he clicked on in Google Ads.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘UTM-codes and product variation in URL’ is closed to new replies.