E
E
emily082019-09-03 20:08:53
Laravel
emily08, 2019-09-03 20:08:53

How to set up laravel and gclid?

Can someone tell me how to properly configure laravel and gclid?
There is such an article https://support.google.com/analytics/answer/293824...
When trying to pass a test parameter - https://mysite.com.ua/?gclid=TeSter-123 ,
everything is reduced to lower case - https://mysite.com.ua/?gclid=tester-123
Perhaps in htaccess it is necessary to somehow allow such a url https://mysite.com.ua/?gclid=TeSter-123 , the question is how?
Or maybe there are other ways?
update
It is necessary to edit htaccess unambiguously, can someone tell me how to allow upper and lower case for the gclid parameter?
Here is htaccess

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule  ^$ public/    [L]
   RewriteRule  (.*) public/$1 [L]
</IfModule>

SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding

AddType image/svg+xml svg svgz
AddOutputFilterByType DEFLATE image/svg+xml

AddOutputFilterByType DEFLATE application/atom+xml \
application/javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/x-web-app-manifest+json \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml


ExpiresByType image/svg+xml "access 1 month"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
emily08, 2019-09-05
@emily08

It turned out that it was lowercase in the public/index.php file.
htaccess didn't need to be changed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question