Closed arifje closed 4 years ago
The code is there to handle them: https://github.com/nystudio107/craft-instantanalytics/blob/v1/src/services/IA.php#L449
Can you verify whether it ever reached that portion of the code for you?
Yes, it's reaching this part, also setting the parameters correctly:
But for some reason no campaign data or revenue is popping up in GA.
@skoften I believe you ended up with a solution here?
I think it's possible this could be related to an issue fixed in 1.1.18 -- can you try updating to it?
Addressed in https://github.com/nystudio107/craft-instantanalytics/commit/87bd6a8a077bcc498f4b1959e37621b8c96a4c6e
Can you set your semver
to dev-develop
and give it a whirl?
Fix released in 1.1.19 -> https://github.com/nystudio107/craft-instantanalytics/releases/tag/1.1.9
thanks, updated the plugin, will let you know the result!
I wanted to track where our sales were coming from by using UTM parameters, but apparently the campaign parameters are not passed to Google Analytics when an order has completed.
I created an URL with the following parameters: ?utm_source=website&utm_medium=blog&utm_campaign=shirts
Then I created a test order with successful payment.
Result in Analytics (via Conversions/Ecommerce/Sales performance):
No campaign data stored.
Also, when I look in Acquisition/Campaigns, the campaign is showing up, but no transaction and revenue is related. This should also be the case if I am correct.
Looks like the UTM paramaters are ignored, or I am missing something?
Craft CMS 3.4.25 Commerce 3.1.10 Instant Analytics 1.1.7