Nickz Posted October 19, 2021 Share Posted October 19, 2021 Adding a referrer and adjusting the referral I have two (2) fields. The Request uri include key, needs to be surround by '%', Build attribute links with &referrer=123, you should use '%referrer=123%'. You can't simply write 'referrer=123', . That being URL which should count, now the exclusion is not clear to me. Could anyone be so kind and shed some light? Link to comment Share on other sites More sharing options...
Nickz Posted October 20, 2021 Author Share Posted October 20, 2021 20 hours ago, Nickz said: now the exclusion is not clear to me. Could anyone be so kind and shed some light? Anyone? @ndiaga? Link to comment Share on other sites More sharing options...
Nickz Posted October 20, 2021 Author Share Posted October 20, 2021 2 minutes ago, ndiaga said: I don't get what you are trying to do to Fill the Field Excluded. Link to comment Share on other sites More sharing options...
pullidea-dev Posted October 20, 2021 Share Posted October 20, 2021 I don't think it is a classic module. Can you share the module link or detail? Link to comment Share on other sites More sharing options...
Nickz Posted October 20, 2021 Author Share Posted October 20, 2021 3 minutes ago, raudsepp said: Can you share the module link or detail? Sure can do, its a TB or based on vs 1.6 tracking tool. Attached is a screenshot. Link to comment Share on other sites More sharing options...
pullidea-dev Posted October 20, 2021 Share Posted October 20, 2021 Oh, I was finding such page on Prestashop 1.7 Link to comment Share on other sites More sharing options...
pullidea-dev Posted October 20, 2021 Share Posted October 20, 2021 What's your Prestashop version? 1.6.?.? I'll install it and will figure it out. 1 Link to comment Share on other sites More sharing options...
Nickz Posted October 20, 2021 Author Share Posted October 20, 2021 22 minutes ago, raudsepp said: I'll install it and will figure it out. i don't think that there will be differences between those versions. Both insert data into data bases. Link to comment Share on other sites More sharing options...
pullidea-dev Posted October 20, 2021 Share Posted October 20, 2021 Did you read the help ? Definitions The "http_referer" field is the website from which your customers arrive. For example, visitors coming from Google will have an "http_referer" value like this one: "http://www.google.com/search?q=prestashop". If the visitor arrives directly (by typing the URL of your shop, or by using their bookmarks, for example), the http_referer will be empty. If you'd like to view all the visitors coming from Google, you can type "%google%" in this field. Alternatively, you can type "%google.fr%" if you want to view visitors coming from Google France, only. The "request_uri" field is the URL from which the customers come to your website. For example, if the visitor accesses a product page, the URL will be like this one: "https://presta16.pullidea.com/music-ipods/1-ipod-nano.html". This is helpful because you can add tags or tokens in the links pointing to your website. For example, you can post a link (such as "https://presta16.pullidea.com/index.php?myuniquekeyword" -- note that you added "?myuniquekeyword" at the end of the URL) in an online forum or as a blog comment, and get visitors statistics for that unique link by entering "%myuniquekeyword" in the "request_uri" field. This method is more reliable than the "http_referer" one, but there is one disadvantage: if a search engine references a page with your link, then it will be displayed in the search results and you will not only indicate visitors from the places where you posted the link, but also those from the search engines that picked up that link. The "Include" fields indicate what has to be included in the URL. The "Exclude" fields indicate what has to be excluded from the URL. When using simple mode, you can use a wide variety of generic characters to replace other characters "_" will replace one character. If you want to use the real "_", you should type this: "\_". "%" will replace any number of characters. If you want to use the real "%", you should type this: "\%". The Simple mode uses the MySQL "LIKE" pattern matching, but for a higher potency you can use MySQL's regular expressions in the Expert mode. I think it's clear. 1 Link to comment Share on other sites More sharing options...
Nickz Posted October 21, 2021 Author Share Posted October 21, 2021 20 hours ago, raudsepp said: I think it's clear. Thanks and OK for you its clear but not for me. Yes I read but I still can't make out what should be put into excluded. Quote The "Exclude" fields indicate what has to be excluded from the URL. When using simple mode, you can use a wide variety of generic characters to replace other characters "_" will replace one character. If you want to use the real "_", you should type this: "\_". "%" will replace any number of characters. If you want to use the real "%", you should type this: "\%". The Simple mode uses the MySQL "LIKE" pattern matching, but for a higher potency you can use MySQL's regular expressions in the Expert mode. Say the exclude say %Google.ch% no one from google.ch should be counted. Is that correct? If the referrer is from Facebook, how do I exclude all others that is my doubt. 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