-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adwords campaign link #250
Comments
Hey @mariosmaselli, What do you mean by "but the route doesn't match the url from Adwords"? Can you send over an example? We could try to console.log where it stops. 😅 Let me know! |
So the link from Adwords is something like this And actually, if I do this... Does this make sense? Not sure if it has a fix.. as I can see that it also happens on alisharaf for example after |
Ok.. I think that found a solution.. not sure if it's the best one but I believe this solves my problem
Let me know if you come up with something else UPDATE Ok this breaks other pages 👎 For some reason, it seemed to work but is not... well let me know if there is an update on this. I will continue looking for a fix. Thanks! |
Hey @mariosmaselli, Indeed, I have the same issue on some projects. Have you thought about adding Let me know if that works! |
Yeah, I actually have it.. I don't see other solution at the moment :( |
The only suggestion I have so far would be to test the URL before calling |
Hi @baptistebriel me again :D I did what you recommended above but apparently, there are some discrepancies in the analytics given the redirect, is there any chance to leave the id in the url and no redirection? Thanks! |
Hey @mariosmaselli, I believe this is an issue more related to bw-router. I'm just using it to bind routes and therefore don't have much control on it. That's why I was recommending to test out the URL and see if there is a Do you have a repository where I could clone the project and do some tests locally? How does the Adwords data gets send to Google? Is it through Google Analytics? |
I just give you access to the repo, please let me know if you get it. Yeah, I tried the redirection, but apparently, this is not a "good" solution, mostly because the data is duplicated. I'm not an expert on Ads or Analytics either so not sure why the ID is needed. |
Where is the dedicated code for Adwords? I guess the data is 'duplicated' because it's a hard redirection using window.location, and therefore the code is sent twice (I'm assuming this is like Google Analytics). You could try using bw-router's built-in function |
Hey man!
soo.. something came up that I've bee not been able to tackle :( and maybe you can help me.
So the website is up and running and the client wanted to launch an Adwords campaign.. but the route doesn't match the url from Adwords.. then it doesn't load the right js file.. I believe that it only loads sections/default.js so site doesn't break, but functionalities from sections/home.js are not being loaded
Any idea how to fix this?
Thanks a lot!!!
The text was updated successfully, but these errors were encountered: