nystudio107 / instantanalytics

DEPRECATED Instant Analytics brings full Google Analytics support to your Twig templates and automatic Craft Commerce integration with Google Enhanced Ecommerce.
Other
101 stars 4 forks source link

External tracked URLs not redirecting #22

Open aladrach opened 5 years ago

aladrach commented 5 years ago

I'm using IA to track visits to external web URLs, and it had been working in the past. I'm not sure what may have changed. It still works on my local dev (Laravel Valet). No errors in the Craft or PHP logs, just a white page. The link can be found in the sidebar here under Contact Information and Website: https://mimivanderhaven.com/businesses/vanek-plastic-surgery

The generated URL that displays the white page is here: https://mimivanderhaven.com/instantanalytics/eventTrack?url=http%3A%2F%2FMentorPlasticSurgery.com&eventCategory=website-click&eventAction=click&eventLabel=https%3A%2F%2Fmimivanderhaven.com%2Fbusinesses%2Fvanek-plastic-surgery&eventValue=Vanek+Plastic+Surgery

aladrach commented 5 years ago

Here's the templating used to create the link: {% set trackingUrl = craft.instantAnalytics.eventTrackingUrl(websiteUrl, 'website-click', 'click', entry.url, entry.title) %}