google maps country names - google-maps-api-3

Is there a way to override country names in google maps api v3. The case for me here is to remove/replace the "Macedonia" label and leave only the "FYROM" one or replace it with "FYROM". So is there a way to tamper with this point? I have to note that i have implemented the solution of placing a dummy image over this part of the map as a layer but the outcome was not the desired one.
Thank you very much in advance.

One option is to use styled maps to remove all the country names. Then add them back with a label (like InfoBox)

Related

How to create an entry in my dimensions in Business Central

I have a dimension, which I would like to add another value.
I can list all my values through GET companies(id)/dimensions(id)/dimensionValues, but how can I add one to the list. POST does not work here
It's not possible based on standard API.
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_dimensionvalue

Google Analytics search and replace filter takes out just the first found match

I'm trying to use google analytics search and replace filter just to remove some ids from the url.
Not sure why, but it just replaces the first found entry.
My url is something like /path/[objectid]/another-path/[objectid] and I need it transformed to /path/another-path, but after applying my filter will be /path/another-path/[objectid].
Thanks
The replacement seems to be performed on only one occurrence (although the regex is correct), however you can create another identical filter and apply that to the View as well, in this way the second occurrence will also be replaced.

Facebook Pixel: mismatched content_id values - how to fix?

I would greatly appreciate some help with my current Facebook catalog ad predicament.
For a product with stock number 12345, our data feed brings it into the Facebook catalog as 616_12345 (the 616_ is consistent). This is the content_id.
To match the FB pixel content_id and track events, the stock number in the catalog needs to match the stock number on the site. So no events are being recorded.
I am managing the pixel and events through Google Tag Manager. I have set up a CSS selector that points to the stock number in an unordered list, but of course it just returns 12345.
Is there a way to create a variable in GTM that assumes a "616_" will be added before the stock number?
I've been told there is no way to remove that 616_ from the data feed - so this is the only option I can think of.
Thanks very much in advance!
Yes there is a way to create a variable in GTM - simple create "Constant" variable and set its' value to "616_". You can then reference this variable in your events and tags by simply using double curly brackets like so: {{VariableName}} . You can find detailed information here.

Backwards Facing Content Grouping

Need to group some pages on my site together but apparently content grouping would only be forward facing. Is there a way to apply content grouping to prior data or create a calculated column as such which would allow GA to filter and group older data?
Is there a way to apply content grouping to prior data?
No, content grouping only applies going forward.
or create a calculated column as such which would allow GA to filter
and group older data?
No, any data you add to GA is only available as of the moment you create it.
What you can do:
GA:
Use Query Filters (not view filters) or segments: filters/segments don't create any data, they just filter it. So if you create 1 filter/segment per group and query the data, you will effectively have the same data as if you had done content grouping
Use Regex: GA supports regular expression which might help you create the filters you need
Use the API: since applying filters/segments might be tedious to do (and repeat) via the UI, you might want to use the API, for instance via the Google Sheets GA API add-on (see further details below)
Example of Google Sheets GA API add-on query to group some content that would match all pages which start with /foo or /bar (see list of API dimensions and metrics, see legacy filters syntax):
ga:pagePath=~^/(foo|bar)
Once you have figured out 1 query for 1 group you can clone them, query all your data, and then reaggregate it.
Google Data Studio:
GDS has a feature called Calculated fields which effectively allows you to create content groupings which apply to both historical and new data. Most likely you want to do this with a CASE statement:
CASE
WHEN REGEXP_MATCH(Page,'^/(foo|bar)') THEN "Group A"
WHEN REGEXP_MATCH...
ELSE "Other"
END

Hiding a country label

Is it possible to 'overlay' a country in Google Earth Plugin in such a way that the labels shown by the 'LAYER-BORDERS' layer are not visible ?
Or would it be possible to 'override' certain labels within the 'LAYER-BORDERS' layer ?
Similar to this question: Turning off country borders via the KML, just use different ID's in the enableLayerById calls for the different "sub-layers".

Resources