cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid AdWords gclid error - Url Rewrite or Htaccess

Invalid AdWords gclid error - Url Rewrite or Htaccess

Hi everyone

we use magento 2.3.3|

My problem: It looks organic in cpc traffic analytics from google ads.
Auto-tagging is turned on in Google Ads.
Auto redirect and rewrite enabled in magento.
Screenshot at Jul 05 09-50-02.png

URL_options.png
So are the url rules in the htaccess file

<IfModule mod_rewrite.c>

############################################
## enable rewrites

Options +FollowSymLinks
RewriteEngine on

############################################
## you can put here your magento root folder
## path relative to web root

#RewriteBase /magento/


############################################
## workaround for HTTP authorization
## in CGI environment

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

############################################
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks

RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
RewriteRule .* - [L,R=405]

############################################
## redirect for mobile user agents

#RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
#RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
#RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]

############################################
## never rewrite for existing files, directories and links

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

 

############################################
## rewrite everything else to index.php

RewriteRule .* index.php [L]

</IfModule>


I could not find a way how to solve this problem.
waiting for your help.
Many thanks


2 REPLIES 2

Re: Invalid AdWords gclid error - Url Rewrite or Htaccess

https://devdocs.magento.com/guides/v2.4/get-started /. This link works for me!

Hope it will work for you too!

Cheers!

Re: Invalid AdWords gclid error - Url Rewrite or Htaccess

Hey there. 

 

Did you manage to solve this issue? 

 

I have exactly the same issue here. Autotaggin is turned on, and well basically the issue is exactly the same as yours!