mirror of
https://github.com/foomo/sesamy-cli.git
synced 2026-11-04 05:10:26 +00:00
14 lines
293 B
Go
14 lines
293 B
Go
package variable
|
|
|
|
import (
|
|
"github.com/foomo/sesamy-cli/pkg/utils"
|
|
"google.golang.org/api/tagmanager/v2"
|
|
)
|
|
|
|
func NewUtmAttribution(name string, template *tagmanager.CustomTemplate) *tagmanager.Variable {
|
|
return &tagmanager.Variable{
|
|
Name: name,
|
|
Type: utils.TemplateType(template),
|
|
}
|
|
}
|