Closed aamalain closed 5 years ago
Hello @aamalain ,
I'm not familiar with Google Map Business.
Could you give us a bit more information and documentation about this channel
key ?
Thanks a lot.
The channel query string param is used only for analytics. For example, if you use the same account on multiple domains, the channel might contain the domain name.
Here is some documentation about it: https://developers.google.com/maps/premium/reports/usage-reports#channels
The URL will be like:
https://maps.googleapis.com/maps/api/js?v=3
&client=gme-yourclientid
&signature=your_signature
&channel=your_channel
Understood. I guess it's an optional parameter, right ?
I'll try to find some time to add it in the Google Maps Geocoder provider ! 👍
yes, it is optional
You have already this feature here
Use it like this : GoogleMaps::business($client, $clientId, $privateKey, $region, $apiKey, $channel)
:wink:
Even better, thanks @maxhelias ! 🎉
Provider GoogleMapsBusiness should accept "channel" attribute in __construct and use it in buildQuery