Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterCan you please try switchin the script loading method to classic here, to make sure it’s not a conflict.
After clearing the cache that should very likely resolve the issue, that is the only difference I see in configuration from the front-end.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterOkay, I have logged in to check, but the tracking ID was not entered. I have put the tracking ID here.
After saving I can see the dataLayer updating, and see the events now on the limited view on the tag manager too.
Clearing the browser cache should now propagate the changes to the GTM container.
Ernest Marcinko
KeymasterThanks!
I don’t see the tracking ID specificly entered. Can you please do that here. In this case it might be required as gtag.js is not present.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterThank you!
1. Yes, you can create a search button filter.
2. I am not exactly sure what you are reffering to. I tried to look for a filter value “seleziona” but I couldn’t find any.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
I tried to check the site front-end, but it’s password protected. .htpassword protection may actually prevent some google tag events from propagating – make sure to try without that too.
Let me know the username/pass and I will try to check the front for the event triggers.Ernest Marcinko
KeymasterYou cannot access this content.
June 5, 2023 at 12:26 pm in reply to: Mobile issue with option "Update the browser address bar with the last selected" #42944Ernest Marcinko
KeymasterYou cannot access this content.
June 5, 2023 at 10:29 am in reply to: Mobile issue with option "Update the browser address bar with the last selected" #42938Ernest Marcinko
KeymasterHi,
Thank you very much for the details, it helps a lot!
Can you please check if this option is disabled?
The URL change alone should not trigger any mobile device jumps though.May I ask what device is this happening on? If it’s indeed due to the URL change, then there is most likely no way of preventing that as it’s a browser behavior.
Can you also add temporary acces to the site so I can try this on the spot? Or test servers seem to be fine, I recorded no jumps, but it might be connected to some other features or assets too.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterSo can I use Advanced Custom Fields On the subsite stores for the attributes so they can be filtered?Very likely. If the field name does not show up in the filter input on the backend, you can still use it, it does not have to be found. In fact you can enter anything into that input, the plugin will still use it.
The category restriction might be doable as well, but only programmatically:
add_filter("asp_query_args", "asp_query_args_change", 10, 2); function asp_query_args_change($args, $search_id) { $args['post_tax_filter'] = array( array( 'taxonomy' => 'product_cat', 'include' => array(1, 2, 3), 'exclude' => array(), 'allow_empty' => false // Don't allow results, which does not have connection with this taxonomy ) ); return $args; }The code above will restrict the results to categories 1, 2 and 3 from the product_cat taxonomy. Change that to the category IDs you need from the subsite.
Try adding this code via the Code Snippets plugin or to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts