c64girl Posted July 24, 2023 Share Posted July 24, 2023 I have a problem i cant solbve and its only thing that redirect wrong in my google ads. When i have a google AD that is redirected to my main page i get 404 error. I found after redirection my ? in url change to & Its: /pl/&gclid=EAIaIQobChMItovyt92mgAMVjQGLCh3yAQ9AEAAYASAAEgJLTfD_BwE?u... Should be: /pl/?gclid=EAIaIQobChMItovyt92mgAMVjQGLCh3yAQ9AEAAYASAAEgJLTfD_BwE?u... Prestashop 1.7.8.5 How can i check if this not acused by some module? Link to comment Share on other sites More sharing options...
c64girl Posted July 24, 2023 Author Share Posted July 24, 2023 It seems autotag is on thats why i have this problem. https://support.google.com/analytics/answer/1033981#zippy=%2Cin-this-article But how to fix it? Link to comment Share on other sites More sharing options...
AddWeb Solution Posted August 17, 2023 Share Posted August 17, 2023 Hi, As you suspect, a module might be causing this issue. Disable any URL-related or redirection-related modules that you have installed in PrestaShop. This will help you identify if one of these modules is causing the problem. The .htaccess file in your PrestaShop installation controls the URL rewriting rules. Check if there are any rules related to URL redirection or parameters that could be causing the issue. Make sure the .htaccess file is correctly configured. Since you mentioned the possibility of autotagging causing this issue, review your Google Ads autotagging configuration. If autotagging is enabled, it should add the necessary parameters to your URLs automatically. However, if it's causing issues, you might want to disable it temporarily and manually add the tracking parameters to your URLs in your Google Ads campaigns. In BO go to Preferences -> SEO & URLs. Check your URL configuration settings. Make sure that the "Friendly URL" option is enabled and that your base URL is correctly configured. Create a test campaign in Google Ads with a clean URL that doesn't have any additional parameters. See if the redirection issue still occurs. If it doesn't, it could further indicate that the problem lies with the parameters being appended to the URL. Before making any changes to your PrestaShop configuration, including disabling modules or editing the .htaccess file, ensure you have a full backup of your website. Let me know if it helps! Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now