Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Issue in sending analytics data to Adobe analytics for URL containing # (fragment) in the URL

sharma_nik
Level 2
Level 2

Hi

We are having issues in receiving analytics data from ACC email campaigns. This issue seems to coming for our single page application for purchasing products.

 

For example: Here is the link we use in our email campaigns: 

https://abc.com/#/external/purchase/xyz

 

for this, adobe campaign is creating following link to send data to analytics:

https://abc.com/?cmpid=xxxx&bid=yyyyy&did=zzzz#/external/purchase/home (adding cmpid, did, bid in between the url before #)

 

and following is the link ACC should create in our analytics to properly receive the data: https://abc.com/#/external/purchase/home?cmpid=xxxx&bid=yyyy&did=zzzzz

 

 

Most probably, this is due to the fragment (#) we are using in our spa page link.
As we are getting correct data for other purchase links which does not (#) in between the URL.

5 Replies
Manoj_Kumar_
Community Advisor
Community Advisor

Hello @sharma_nik 

Yes, you are correct. This is because of the # being use by your application routing. You will have to change the routing of your react/angular/vue app to remove the # from the URLs.

 

It is not a huge change from a developers perspectiv.

sharma_nik
Level 2
Level 2

Hi Manoj 

Thanks for your response.
We have multiple pages like that and it will be a big change for us.
Is there anything we can do from Campaign side that will work on this URL?

 

Manoj_Kumar_
Community Advisor
Community Advisor

Hello @sharma_nik 

The other way also require web developers help. Whenin they will create a logic to fix the URL when ever they see it not aligned properly.

 

If the web developers are using route names/alias to navigate then changing the route file would be a good idea. If they are using relevant paths to navigate then it is a huge change. 

 

sharma_nik
Level 2
Level 2

Isn't there anything we can do from campaign side?? 

 

Thanks