Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

trackLocation() calls

Avatar

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile
jeff_bloomer
Level 7

26-07-2018

Good Morning, Gigazelle

I am looking to get some clarification related to the trackLocation call.

I know that it should be set to fire every time the user launches the app, but I want to understand something:

  • The instructions mention that trackLocation works the same as trackAction.  As a result, if we start sending trackLocation on a number of our calls, do we have the option to combine the data fired in our trackAction into trackLocation, or will we now be sending two calls and increasing our cost?

Jeff Bloomer

Senior Analyst, Digital Analytics Implementation

The Kroger Co. | Digital Site Experienc

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Employee
Jen_Andrews
Employee

Likes

57 likes

Total Posts

61 posts

Correct Reply

36 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Employee
Jen_Andrews
Employee

Likes

57 likes

Total Posts

61 posts

Correct Reply

36 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Jen_Andrews
Employee

28-08-2018

Hi Jeff,

Yes, you can indeed send additional contextData same as a trackAction call.  It would again depend on your requirement, it's likely not necessary to send trackLocations for each Action, the location, I would think would not move significantly from Launch until sending subsequent actions.

Jen

Answers (7)

Answers (7)

Avatar

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile
jeff_bloomer
Level 7

28-08-2018

Perfect.  That's the answer I was looking for.  Thanks!

Avatar

Avatar
Validate 1
Employee
Jen_Andrews
Employee

Likes

57 likes

Total Posts

61 posts

Correct Reply

36 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Employee
Jen_Andrews
Employee

Likes

57 likes

Total Posts

61 posts

Correct Reply

36 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Jen_Andrews
Employee

28-08-2018

Hi Jeff,

A trackLocation request sends in the equivalent of a trackAction call.  Generally, you would send trackLocation when the app starts, and then as you as often as you need based on the requirements of your app.

Jen 

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

09-08-2018

Jen Andrews​ - Do you have any inputs here?

Avatar

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile
jeff_bloomer
Level 7

28-08-2018

Hi Jen!

I totally understand what you're saying.  What I'm wanting to know is if it's possible to replace a trackAction call with trackLocation and still fire all of the relevant variables I had in trackAction so I can preserve the amount of calls being fired.

For example, say I would normally capture adding an item to my cart using trackAction.  Is it possible to fire trackLocation instead and still pass all of the values I would have passed in the trackLocation call; or, do I still have to fire both calls separately?

Avatar

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile
jeff_bloomer
Level 7

09-08-2018

I guess the point I'm getting to is, should I start considering scenarios where I might replace the trackAction call to fire as trackLocation and fire the same context variables I'm currently firing in addition to the location data?  The goal here is to see an aggregate of users who are using the app within 100 meters of one of our locations or not.  Thanks again!

Avatar

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Springboard
Level 7
jeff_bloomer
Level 7

Likes

146 likes

Total Posts

222 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Contributor
Shape 1
View profile
jeff_bloomer
Level 7

09-08-2018

Thanks.  Anyone on your side who would have additional insights?

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct Reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct Reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

09-08-2018

trackAction and trackLocation both send image requests, so you'd be increasing costs by sending both simultaneously. However, you can send additional data in a trackLocation call, as indicated here: Geo-Location and Points of Interest

Mobile Services is unfortunately not my forte, so I'm afraid I won't be able to go into much more detail than that