I would like to make a search based on a category: education-facility.
When I tried to put it in the q, it does not work.
Is it possible with here auto suggest?
Not all categories in Here API are permanent and applicable to every location. Some categories are locally relevant(to a particular location). You can check the categories relevant to your location using
https://places.cit.api.here.com/places/v1/categories/places
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&at=52.50449,13.39091
&pretty
Below is an example of a location where education-facility is available:
https://places.demo.api.here.com/places/v1/discover/around?at=41.8369%2C-87.684&cat=education-facility&Accept-Language=en-US%2Cen%3Bq%3D0.5&app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg
To read more about entrypoint categories use developer.here.com/documentation/places/topics_api/resource-place-categories.html
Related
Using the WooCommerce API I want to send an HTTP GET request to download all products with a specific attribute.
The documentation says the URL to do this with is this
/wp-json/wc/v3/products
And I can add parameters to the URL in order to filter the products.
I have successfully added filters for page and page count:
wp-json/wc/v3/products?per_page=100&page=10
I have also managed to get only available products with this parameter:
wp-json/wc/v3/products?&stock_status=instock
However, I cannot manage to add a filter for the attributes. I have tried the following ways to write the URL and non of them work
wp-json/wc/v3/products/?attribute=1
wp-json/wc/v3/products/?
wp-json/wc/v3/products/?attribute_pa_емаг=Да
wp-json/wc/v3/products/?filter[pa_емаг]=10
What would be the correct way to write the URL?
(Note: The attribute is pa_емаг and its value is Да)
The correct call would be:
/wp-json/wc/v3/products?attribute={attribute-taxonomy}&attribute_term={term-id/tag_ID}
Where attribute-taxonomy would be full slug in your case "pa_емаг", and term-id/tag_ID the id of "Да".
We have GA on a site that has hundreds of subdomains and each subdomain can have query parameters attached. I have a filter set up to show full domain and it's as follows...
Now, when I go to Behavior -> Site Content -> All Pages I see all the subdomain pages that were visted
john.male.personfinder.com
stacy.female.personfinder.com
mark.male.personfinder.com
sue.male.personfinder.com
What's not being "tracked" (probably the wrong term), is the query parameters that COULD follow the above urls.
john.male.personfinder.com
john.male.personfinder.com?state=ca
john.male.personfinder.com?state=ca&city=sf
Do I need to set up another filter to track these query parameters? Google Analytics is like a foreign language to me, so any walkthroughs and explanations would be GREATLY appreciated. Searching the web gave me mixed answers that didn't quiet match what I was looking for.
Thanks!
I think you will need to populate a custom dimension from your site, to get the parameter information.
Here's a snippet from my use of something similar:
$scoreid = $_GET["scoreid"];
...
<a name="metadata" id="metadata" data-scoreid="<?php echo $scoreid; ?>"></a>
I then use the data-scoreid DOM element to populate a custom GA dimension (in my case via a Google Tag Manager variable).
I have an unusual pattern that I need to create a filter for. I am trying to create a rolled up view for the following structure:
www.domain1.com/
and
www.domain2.com/shop/en-gb/domain2
I want to create the filter that would show all the traffic in domain1
and
also show the traffic in domain2 but only in the domain2 subfolder.
Both domains share the same UA- Tag
1. here is how I have tried to structure it:
a. Include filter for domain1.com and domain2.com
b. Exclude filter for domain2.com for traffic not in subfolder <-- This is where I can't seem to get it working.
Would appreciate anyones guidance as to what approach I should take.
Thanks
This might not be a beautiful solution...
Filter 1 - custom filter type "Search and Replace" with search string "domain2.com/shop/en-gb/domain2" and replace string "domain1.com"
Filter 2 - include only traffic to hostname that contain "domain1.com"
Make sure you arrange the filters in the correct order, since they are processed in order.
Remember that filters can't be applied to your historical data; they can only be applied to data going forward.
I have one site that serves EN and FR users. Each language has it's own domain, so englishcontent.com and frenchcontent.com. I'm setting up profiles, one for each. For the filters, would this be the correct setting
Type: Custom > Include
Field: Hostname
Pattern englishcontent.com
I would then have a profifile for French with the similar settings.
is this the best way to do this?
Yes, it should work, but keep in mind keep always a view without filter, in you case you need to have 4:
EnDomain View
FRDomain View
AllDomain View (No domain filter, but ip filter or any other needed)
Raw View (No Filter at all , this in case of something fails)
Take care of the variation of the domains and your filter. For example whats happens with the www variations or the subdomains.
Greetings
Example
PS: This structure is not the recomended one by Google, it suposes one account per brand, one property per domain and the desired views.
more information on:
https://analyticsacademy.withgoogle.com/course/1/unit/4/lesson/2
I did a review on our google analytics this morning and realised that we have a unknown site using our analytics code; this is because they copied our site design and even used our source code letter for letter.
Is there a way to filter out this site from our google analytics as there data is essentially scewing our data.
Cheers
You can filter out their data.
First, you can figure out what the domain is by adding the 'Hostname' secondary dimension in your content view. Once you have a handle on what hostnames its using (www.thief.com, thief.com, subdomain.thief.com, or whatever).
Create the filter (Instructions here: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55494)
Set the filter to exclude traffic from the thief's hostname.
alt text http://files.droplr.com.s3.amazonaws.com/files/15648633/1x0Cbj.Screen%20shot%202010-08-13%20at%2011%3A43%3A42.png
(This thread has some details on how this implemented: http://groups.google.com/group/analytics-help-basics/browse_thread/thread/051be84cfb20338a?pli=1)
#yahelc , while your instructions are OK if you look at documentation, this filter often doesn't work.
I recommend to use
Custom Filter / Exclude filter / Filter field : Hostname , where can use a regexp pattern
To test your pattern, Go in Visitors / Network Properties / Hostname, and give it try in the filter box